//part1:c07:7.23:Screen.h
#ifndef SCREEN_H__
#define SCREEN_H__
#include <iostream>
class Screen
{
public:
    Screen() = default;
    Screen(unsigned ht, unsigned wd) : height(ht), width(wd),
        contends(ht * wd, ' '){}    
    Screen(unsigned ht, unsigned wd, char c)
     :height(ht), width(wd), contends(ht * wd, c){}    
private:
    unsigned height = 0;
    unsigned width = 0;
    unsigned cursor = 0;
    std::string contends;
};
#endif